package com.stb.llh.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @Author Lee
 * @Date 2021/11/8
 * @Description
 */

@Data
@Entity
public class AddressCount {


    private String address;
    private Long counts;
    private Long id;

    public AddressCount() {
    }

    public AddressCount(String address, Long counts) {
        this.address = address;
        this.counts = counts;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Id
    public Long getId() {
        return id;
    }
}
